package com.snow.campuslink.bbs.service;

import com.snow.campuslink.bbs.converter.dto.SearchConditionDto;
import com.snow.campuslink.bbs.converter.dto.SelectBbsPostDto;
import com.snow.campuslink.bbs.converter.dto.UpdateBbsPostActionCountDto;
import com.snow.campuslink.bbs.entity.BbsPost;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Gaosl
 * @since 2021-02-10
 */
public interface IBbsPostService extends IService<BbsPost> {

    /**
     * TODO
     *
     * @param searchConditionDto
     * @author Gaosl
     * @date 2021/2/12 10:47
     * @return java.util.List<com.snow.campuslink.bbs.entity.BbsPost>
     */
    List<SelectBbsPostDto> selectBbsPost(SearchConditionDto searchConditionDto);


    /**
     * TODO
     *
     * @param updateBbsPostActionCountDto
     * @author Gaosl
     * @date 2021/3/1 11:05
     * @return void
     */
    void updateActionCount(UpdateBbsPostActionCountDto updateBbsPostActionCountDto);
}
